<%@ page import="com.chinadrtv.user.model.ozing.auth.OzingUser" %>
<%@ include file="/common/taglibs.jsp"%>

<%
    OzingUser ozingUser = (OzingUser) request.getSession().getAttribute(OzingUser.OZING_USER_SESSION_KEY);
    if (ozingUser != null && ozingUser.getRoles() != null && ozingUser.getRoles().size() > 0) {
        String any = ozingUser.hasAnyAuth();
        if (ozingUser.hasAnyAuth() != null) {
            %>
                <c:redirect url="<%=any %>"/>
            <%
        }
    } else {
%>
    <c:redirect url="/ozing/card/job"/>
<%
    }
%>
